100
|
How can I remove a bookmark
OleObject oEdit
oEdit = ole_1.Object
oEdit.Bookmark(2,true)
oEdit.Bookmark(2,false)
oEdit.BookmarkWidth = 16
|
99
|
How can I remove all bookmarks
OleObject oEdit
oEdit = ole_1.Object
oEdit.Bookmark(2,true)
oEdit.Bookmark(4,true)
oEdit.BookmarkWidth = 16
oEdit.ClearBookmarks()
|
98
|
How can I add a bookmark

OleObject oEdit
oEdit = ole_1.Object
oEdit.Bookmark(2,true)
oEdit.Bookmark(4,true)
oEdit.BookmarkWidth = 16
|
97
|
How can I change the format to display the numbers

OleObject oEdit
oEdit = ole_1.Object
oEdit.FormatNumbers = "<b><fgcolor=FF0000> </fgcolor></b>"
oEdit.InsertText("Just numbers: 12 22\r\n",1)
|
96
|
Is there any option to change the color for the line that displays the cursor or the caret

OleObject oEdit
oEdit = ole_1.Object
oEdit.BackColorCaretLine = RGB(255,0,0)
|
95
|
Can I display the lines using an alternate color

OleObject oEdit
oEdit = ole_1.Object
oEdit.BackColorAlternate = RGB(255,0,0)
|
94
|
How can I disable or enable displaying the Replace dialog
OleObject oEdit
oEdit = ole_1.Object
oEdit.AllowReplace = false
|
93
|
Does your control support incrementasl search

OleObject oEdit
oEdit = ole_1.Object
oEdit.AllowIncrementalSearch = true
|
92
|
How can I programmatically find or search for a word only
OleObject oEdit
oEdit = ole_1.Object
oEdit.HideSelection = false
oEdit.Find("IDD_DIALOG_INSTALL",2)
|
91
|
How can I programmatically find or search for a string

OleObject oEdit
oEdit = ole_1.Object
oEdit.HideSelection = false
oEdit.Find("public",0)
|
90
|
How can I disable or enabled the Find dialog
OleObject oEdit
oEdit = ole_1.Object
oEdit.AllowFind = false
|
89
|
How can I enable my button as the control can perform an REDO operation

OleObject oEdit
any var_CanRedo
oEdit = ole_1.Object
var_CanRedo = oEdit.CanRedo
|
88
|
How can I enable my button as the control can perform an UNDO operation
OleObject oEdit
any var_CanUndo
oEdit = ole_1.Object
var_CanUndo = oEdit.CanUndo
|
87
|
How can I disable or enable the undo-redo feature

OleObject oEdit
oEdit = ole_1.Object
oEdit.AllowUndoRedo = false
|
86
|
How can I change the color for the border where the line numbers are displayed

OleObject oEdit
oEdit = ole_1.Object
oEdit.LineNumberForeColor = RGB(255,0,0)
oEdit.LineNumberBackColor = RGB(0,0,255)
oEdit.LineNumberWidth = 32
|
85
|
How can I change the color of the bookmark border

OleObject oEdit
oEdit = ole_1.Object
oEdit.BookMarkBackColor = RGB(255,0,0)
oEdit.BookMarkBackColor2 = RGB(255,0,0)
oEdit.BookmarkWidth = 16
|
84
|
How can I refresh the control

OleObject oEdit
oEdit = ole_1.Object
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
|
83
|
How can I change the size of the tabs characters

OleObject oEdit
oEdit = ole_1.Object
oEdit.TabLength = 8
|
82
|
I've seen that if I press CTRL + ( I get the matching braket. How can I extend this
OleObject oEdit
oEdit = ole_1.Object
oEdit.OpenBrackets = "<"
oEdit.CloseBrackets = ">"
|
81
|
How can I hide the selection
OleObject oEdit
oEdit = ole_1.Object
oEdit.DisplaySelection = false
|
80
|
How can I display both scroll bars

OleObject oEdit
oEdit = ole_1.Object
oEdit.ScrollBars = 3
|
79
|
How can I display only the vertical scroll bar

OleObject oEdit
oEdit = ole_1.Object
oEdit.ScrollBars = 2
|
78
|
How can I display only the horizontal scroll bar

OleObject oEdit
oEdit = ole_1.Object
oEdit.ScrollBars = 1
|
77
|
How can I hide the control's scroll bars

OleObject oEdit
oEdit = ole_1.Object
oEdit.ScrollBars = 0
|
76
|
How can I insert at specified position a new line

OleObject oEdit
oEdit = ole_1.Object
oEdit.InsertText("newline\r\n",2)
oEdit.BackColorLine(2,RGB(255,0,0))
|
75
|
How can I remove or delete all lines
OleObject oEdit
oEdit = ole_1.Object
oEdit.Text = ""
|
74
|
How can I remove or delete a line

OleObject oEdit
oEdit = ole_1.Object
oEdit.DeleteLine(1)
|
73
|
How do I change the character where the caret or the cursor is displayed
OleObject oEdit
oEdit = ole_1.Object
oEdit.CaretPos = 10
|
72
|
How do I change the line where the caret or the cursor is displayed
OleObject oEdit
oEdit = ole_1.Object
oEdit.CaretLine = 10
|
71
|
How do I replace a line

OleObject oEdit
oEdit = ole_1.Object
oEdit.TextLine(1,"new line")
|
70
|
How do I get a line
OleObject oEdit
oEdit = ole_1.Object
oEdit.TextLine(1,"new line")
|
69
|
How do I get the number of lines in the control
OleObject oEdit
any var_Count
oEdit = ole_1.Object
var_Count = oEdit.Count
|
68
|
How do I get the point where the selection starts

OleObject oEdit
oEdit = ole_1.Object
oEdit.SelStart = 4
oEdit.SelLength = 10
oEdit.HideSelection = false
|
67
|
How do I get the number of selected characters

OleObject oEdit
oEdit = ole_1.Object
oEdit.SelLength = 10
oEdit.HideSelection = false
|
66
|
How can I get the selected text
OleObject oEdit
any var_SelText
oEdit = ole_1.Object
oEdit.SelLength = 10
var_SelText = oEdit.SelText
|
65
|
How can I replace the selected text

OleObject oEdit
oEdit = ole_1.Object
oEdit.SelLength = 10
oEdit.SelText = "-new selection-"
|
64
|
How can I avoid changing the colors for keywords or expressions

OleObject oEdit
oEdit = ole_1.Object
oEdit.ApplyColors = false
oEdit.AddKeyword("<fgcolor=FF0000><b>class</b></fgcolor>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
|
63
|
How can I display HTML text

OleObject oEdit
oEdit = ole_1.Object
oEdit.EditType = 2
oEdit.Text = "<b>just a HTML text</b>\r\nnew <s>line</s>"
|
62
|
How can I use it a a simple edit control, without highlighting

OleObject oEdit
oEdit = ole_1.Object
oEdit.EditType = 0
|
61
|
How can I save the text to a file
OleObject oEdit
oEdit = ole_1.Object
|
60
|
How can I save the text to a file
OleObject oEdit
oEdit = ole_1.Object
|
59
|
How can I load text from a file
OleObject oEdit
oEdit = ole_1.Object
|
58
|
How can I load text from a file
OleObject oEdit
oEdit = ole_1.Object
|
57
|
How can I display only a single line
OleObject oEdit
oEdit = ole_1.Object
oEdit.MultiLine = false
|
56
|
How can I disable displaying multiple lines
OleObject oEdit
oEdit = ole_1.Object
oEdit.MultiLine = false
|
55
|
How can change the color for selected text

OleObject oEdit
oEdit = ole_1.Object
oEdit.HideSelection = false
oEdit.SelLength = 10
oEdit.SelBackColor = RGB(255,0,0)
|
54
|
How can change the color for selected text

OleObject oEdit
oEdit = ole_1.Object
oEdit.HideSelection = false
oEdit.SelLength = 10
oEdit.SelForeColor = RGB(255,0,0)
|
53
|
How can I disable displaying the control's context menu
OleObject oEdit
oEdit = ole_1.Object
oEdit.AllowContextMenu = false
|
52
|
Is there any option to hide the caret or the cursor
OleObject oEdit
oEdit = ole_1.Object
oEdit.ShowCaret = false
|
51
|
How can still display the selected text when the control loses the focus

OleObject oEdit
oEdit = ole_1.Object
oEdit.HideSelection = false
oEdit.SelLength = 10
|
50
|
How can I disable adding new TAB characters when the user enters a new line
OleObject oEdit
oEdit = ole_1.Object
oEdit.AutoIndent = false
|
49
|
How can I disable using the Tab key
OleObject oEdit
oEdit = ole_1.Object
oEdit.UseTabKey = false
|
48
|
How can I hide the number of each line
OleObject oEdit
oEdit = ole_1.Object
oEdit.LineNumberWidth = 0
|
47
|
How can I display or show the number of each line

OleObject oEdit
oEdit = ole_1.Object
oEdit.LineNumberWidth = 32
|
46
|
How can I clear the text
OleObject oEdit
oEdit = ole_1.Object
oEdit.Text = ""
|
45
|
How can I specify the text being displayed in the control

OleObject oEdit
oEdit = ole_1.Object
oEdit.Text = "new line\r\nnew line"
|
44
|
How can I hide the bookmark border
OleObject oEdit
oEdit = ole_1.Object
oEdit.BookmarkWidth = 0
|
43
|
How can I show the bookmark border

OleObject oEdit
oEdit = ole_1.Object
oEdit.BookmarkWidth = 16
|
42
|
How do I lock the control

OleObject oEdit
oEdit = ole_1.Object
oEdit.Locked = true
|
41
|
How do I disable or enable the control
OleObject oEdit
oEdit = ole_1.Object
oEdit.Enabled = false
|
40
|
How can I change the visual appearance of the splitter

OleObject oEdit
oEdit = ole_1.Object
oEdit.AllowSplitter = 3
oEdit.SplitPaneWidth = 128
oEdit.SplitPaneHeight = 128
oEdit.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oEdit.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oEdit.Background(0,16777216 /*0x1000000*/)
oEdit.Background(1,16777216 /*0x1000000*/)
oEdit.Background(2,33554432 /*0x2000000*/)
|
39
|
How can I change the visual appearance of the vertical splitter

OleObject oEdit
oEdit = ole_1.Object
oEdit.AllowSplitter = 3
oEdit.SplitPaneWidth = 128
oEdit.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oEdit.Background(0,16777216 /*0x1000000*/)
|
38
|
How can I change the visual appearance of the horizontal splitter

OleObject oEdit
oEdit = ole_1.Object
oEdit.AllowSplitter = 3
oEdit.SplitPaneHeight = 128
oEdit.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oEdit.Background(1,16777216 /*0x1000000*/)
|
37
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

OleObject oEdit
oEdit = ole_1.Object
oEdit.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oEdit.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oEdit.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
oEdit.Background(388,16777216 /*0x1000000*/)
oEdit.Background(389,33554432 /*0x2000000*/)
oEdit.Background(391,50331648 /*0x3000000*/)
oEdit.Background(260,16777216 /*0x1000000*/)
oEdit.Background(261,33554432 /*0x2000000*/)
oEdit.Background(263,50331648 /*0x3000000*/)
|
36
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

OleObject oEdit
oEdit = ole_1.Object
oEdit.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oEdit.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oEdit.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
oEdit.Background(388,16777216 /*0x1000000*/)
oEdit.Background(389,33554432 /*0x2000000*/)
oEdit.Background(391,50331648 /*0x3000000*/)
oEdit.ScrollThumbSize(1,96)
|
35
|
I've seen that you can change the visual appearance for the scroll bar. How can I do that

OleObject oEdit
oEdit = ole_1.Object
oEdit.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oEdit.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oEdit.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
oEdit.Background(324,16777216 /*0x1000000*/)
oEdit.Background(325,33554432 /*0x2000000*/)
oEdit.Background(327,50331648 /*0x3000000*/)
oEdit.Background(404,RGB(240,240,240))
oEdit.Background(276,RGB(240,240,240))
oEdit.Background(3,RGB(240,240,240))
|
34
|
Can I change the forecolor for the tooltip

OleObject oEdit
oEdit = ole_1.Object
oEdit.ToolTipDelay = 1
oEdit.ToolTipWidth = 364
oEdit.Background(66,RGB(255,0,0))
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
|
33
|
Can I change the background color for the tooltip

OleObject oEdit
oEdit = ole_1.Object
oEdit.ToolTipDelay = 1
oEdit.ToolTipWidth = 364
oEdit.Background(65,RGB(255,0,0))
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
|
32
|
Can I change the default border of the tooltip, using your EBN files

OleObject oEdit
oEdit = ole_1.Object
oEdit.ToolTipDelay = 1
oEdit.ToolTipWidth = 364
oEdit.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oEdit.Background(64,16777216 /*0x1000000*/)
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
|
31
|
How do I call your x-script language

OleObject oEdit
oEdit = ole_1.Object
oEdit.ExecuteTemplate("BackColor = RGB(255,0,0)")
|
30
|
How do I call your x-script language

OleObject oEdit
oEdit = ole_1.Object
oEdit.Template = "BackColor = RGB(255,0,0)"
|
29
|
Can I change the font for the tooltip

OleObject oEdit,var_StdFont
oEdit = ole_1.Object
oEdit.ToolTipDelay = 1
var_StdFont = oEdit.ToolTipFont
var_StdFont.Name = "Tahoma"
var_StdFont.Size = 14
oEdit.ToolTipWidth = 364
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
|
28
|
I've seen that the width of the tooltip is variable. Can I make it larger

OleObject oEdit
oEdit = ole_1.Object
oEdit.ToolTipWidth = 328
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
|
27
|
How do I let the tooltip being displayed longer

OleObject oEdit
oEdit = ole_1.Object
oEdit.ToolTipPopDelay = 10000
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
|
26
|
How do I disable showing the tooltip for all control
OleObject oEdit
oEdit = ole_1.Object
oEdit.ToolTipDelay = 0
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
|
25
|
How do I show the tooltip quicker

OleObject oEdit
oEdit = ole_1.Object
oEdit.ToolTipDelay = 1
oEdit.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
oEdit.Refresh()
|
24
|
Can I change the order of the buttons in the scroll bar

OleObject oEdit
oEdit = ole_1.Object
oEdit.ScrollOrderParts(1,"t,l,r")
oEdit.ScrollOrderParts(0,"t,l,r")
|
23
|
The thumb size seems to be very small. Can I make it bigger

OleObject oEdit
oEdit = ole_1.Object
oEdit.ScrollThumbSize(1,164)
|
22
|
How do I enlarge or change the size of the control's scrollbars

OleObject oEdit
oEdit = ole_1.Object
oEdit.ScrollHeight = 18
oEdit.ScrollWidth = 18
oEdit.ScrollButtonWidth = 18
oEdit.ScrollButtonHeight = 18
|
21
|
How can I display my text on the scroll bar, using a different font

OleObject oEdit
oEdit = ole_1.Object
oEdit.ScrollPartCaption(1,256,"This is just a text")
oEdit.ScrollFont(1).Size = 12
oEdit.ScrollThumbSize(1,128)
oEdit.ScrollHeight = 24
oEdit.ScrollPartCaption(1,256,"This is <s><font Tahoma;12> just </font></s> text")
oEdit.ScrollHeight = 20
|
20
|
How can I display my text on the scroll bar

OleObject oEdit
oEdit = ole_1.Object
oEdit.ScrollPartCaption(1,256,"this is just a text")
oEdit.ScrollThumbSize(1,96)
|
19
|
How do I assign a tooltip to a scrollbar

OleObject oEdit
oEdit = ole_1.Object
oEdit.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oEdit.ScrollToolTip(1,"This is a <img>0x1000000</img>tooltip being shown when you click and drag the thumb in the horizontal scroll bar")
|
18
|
How do I assign an icon to the button in the scrollbar

OleObject oEdit
oEdit = ole_1.Object
oEdit.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oEdit.ScrollPartVisible(1,32768,true)
oEdit.ScrollPartCaption(1,32768,"<img>1</img>")
oEdit.ScrollHeight = 18
oEdit.ScrollButtonWidth = 18
|
17
|
I need to add a button in the scroll bar. Is this possible

OleObject oEdit
oEdit = ole_1.Object
oEdit.ScrollPartVisible(1,32768,true)
oEdit.ScrollPartCaption(1,32768,"1")
|
16
|
Can I display an additional buttons in the scroll bar

OleObject oEdit
oEdit = ole_1.Object
oEdit.ScrollPartVisible(1,32768,true)
oEdit.ScrollPartVisible(1,16384,true)
oEdit.ScrollPartVisible(1,1,true)
oEdit.ScrollPartVisible(1,2,true)
|
15
|
How do I change the control's foreground color

OleObject oEdit
oEdit = ole_1.Object
oEdit.ForeColor = RGB(255,0,0)
|
14
|
How do I change the control's background color

OleObject oEdit
oEdit = ole_1.Object
oEdit.BackColor = RGB(200,200,200)
|
13
|
How can I change the control's font

OleObject oEdit
oEdit = ole_1.Object
oEdit.Font.Name = "Verdana"
|
12
|
How do I put a picture on the center of the control

OleObject oEdit
oEdit = ole_1.Object
oEdit.Picture = oEdit.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oEdit.PictureDisplay = 17
|
11
|
How do I resize/stretch a picture on the control's background

OleObject oEdit
oEdit = ole_1.Object
oEdit.Picture = oEdit.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oEdit.PictureDisplay = 49
|
10
|
How do I put a picture on the control's center right bottom side

OleObject oEdit
oEdit = ole_1.Object
oEdit.Picture = oEdit.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oEdit.PictureDisplay = 34
|
9
|
How do I put a picture on the control's center left bottom side

OleObject oEdit
oEdit = ole_1.Object
oEdit.Picture = oEdit.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oEdit.PictureDisplay = 32
|
8
|
How do I put a picture on the control's center top side

OleObject oEdit
oEdit = ole_1.Object
oEdit.Picture = oEdit.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oEdit.PictureDisplay = 1
|
7
|
How do I put a picture on the control's right top corner

OleObject oEdit
oEdit = ole_1.Object
oEdit.Picture = oEdit.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oEdit.PictureDisplay = 2
|
6
|
How do I put a picture on the control's left top corner

OleObject oEdit
oEdit = ole_1.Object
oEdit.Picture = oEdit.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oEdit.PictureDisplay = 0
|
5
|
How do I put a picture on the control's background

OleObject oEdit
oEdit = ole_1.Object
oEdit.Picture = oEdit.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
|
4
|
How do I change the control's border, using your EBN files

OleObject oEdit
oEdit = ole_1.Object
oEdit.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oEdit.Appearance = 16777216 /*0x1000000 | */
|
3
|
How do I remove the control's border

OleObject oEdit
oEdit = ole_1.Object
oEdit.Appearance = 0
|
2
|
How can I add a line

OleObject oEdit
oEdit = ole_1.Object
oEdit.InsertText(" - insert the line as the last - \r\n")
|
1
|
How can I insert a line

OleObject oEdit
oEdit = ole_1.Object
oEdit.InsertText(" - insert the line as the first - \r\n",1)
|